package com.yonghui.summer.ioc;

import android.app.Activity;
import android.content.Context;
import com.yonghui.summer.ioc.context.BootContext;
import com.yonghui.summer.ioc.context.impl.StandardBootContext;

/**
 * 应用
 */
public final class BootApplication {

    public static BootContext run(Activity activity) {
        BootContext context = new StandardBootContext(activity);
        return context;
    }


    public static BootContext run(Context context,String[] packages) {
        BootContext bootContext = new StandardBootContext(context,packages);
        return bootContext;
    }

}
